<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>视频聊天</title>
    <style>
        div{
            text-align: center;
            margin-top: 50px;
        }
    </style>
</head>

<body style="background-color: gray;">


    <div>
        LocalVideo:<video id="localVideo" autoplay playsinline controls></video>
        RemoteVieo:<video id="remoteVideo" autoplay playsinline controls></video>
        <div>
            <button id="start">Start</button>
            <button id="call">Call</button>
            <button id="hangup">Hangup</button>
        </div>
    </div>
</body>

<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
<script src="js/main.js"></script>

</html>